/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package persistence;

import java.awt.List;
import java.util.Map;

/**
 *
 * @author Augusto
 */
public abstract class DAO {

    public abstract Object insert(Object object);

    public abstract Object update(Object object);

    public abstract Object delete(Object object);

    public abstract Object fetchOne(int id);

    public abstract List fetchAll(Map options);
}
